package com.ruoyi.system.domain.standard_relevant;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.StandardSpider;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * excel(标准三级指标)对象 standard_excel
 *
 * @author ruoyi
 * @date 2024-07-16
 */
@Setter
@Getter
@AllArgsConstructor
public class StandardExcel extends BaseEntity
{
    //private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 标准号 */
    @Excel(name = "标准号")
    private String standardCode;

    /** A11(参与国家影响力) */
    @Excel(name = "A11(参与国家影响力)")
    private Long A11;

    /** A12(参与企业/组织影响力) */
    @Excel(name = "A12(参与企业/组织影响力)")
    private Long A12;

    /** A13(起草人员) */
    @Excel(name = "A13(起草人员)")
    private Long A13;

    /** B11(标准转化) */
    @Excel(name = "B11(标准转化)")
    private Long B11;

    /** B12(其他标准引用) */
    @Excel(name = "B12(其他标准引用)")
    private Long B12;

    /** B13(被法律法规引用) */
    @Excel(name = "B13(被法律法规引用)")
    private Long B13;

    /** B14(其他工程应用) */
    @Excel(name = "B14(其他工程应用)")
    private Long B14;

    /** B21(标准传播) */
    @Excel(name = "B21(标准传播)")
    private Long B21;

    /** B22(认证认可) */
    @Excel(name = "B22(认证认可)")
    private Long B22;

    /** B23(标准关注度) */
    @Excel(name = "B23(标准关注度)")
    private Long B23;

    /** B24(标准衍生材料传播) */
    @Excel(name = "B24(标准衍生材料传播)")
    private Long B24;

    /** B31(标准引领性) */
    @Excel(name = "B31(标准引领性)")
    private Long B31;

    /** B32(标准创新性) */
    @Excel(name = "B32(标准创新性)")
    private Long B32;

    /** B33(标准获奖) */
    @Excel(name = "B33(标准获奖)")
    private Long B33;

    /** B41(社会关注度) */
    @Excel(name = "B41(社会关注度)")
    private Long B41;

    /** B42(可持续发展支撑度) */
    @Excel(name = "B42(可持续发展支撑度)")
    private Long B42;

    /** B43(对外贸易应用(国际贸易影响)) */
    @Excel(name = "B43(对外贸易应用(国际贸易影响))")
    private Long B43;

    /** B44(产业扩散广度) */
    @Excel(name = "B44(产业扩散广度)")
    private Long B44;

    //构造函数，根据StandardSpider对象构建这个对象
    public StandardExcel() {
    }
    public StandardExcel(StandardSpider standardSpider) {
        this.setStandardCode(standardSpider.getStandardCode());
        this.setA11(standardSpider.geta11());
        this.setA12(standardSpider.geta12());
        this.setA13(standardSpider.geta13());
        this.setB11(standardSpider.getb11());
        this.setB12(standardSpider.getb12());
        this.setB13(standardSpider.getb13());
        this.setB14(standardSpider.getb14());
        this.setB21(standardSpider.getb21());
        this.setB22(standardSpider.getb22());
        this.setB23(standardSpider.getb23());
        this.setB24(standardSpider.getb24());
        this.setB31(standardSpider.getb31());
        this.setB32(standardSpider.getb32());
        this.setB33(standardSpider.getb33());
        this.setB41(standardSpider.getb41());
        this.setB42(standardSpider.getb42());
        this.setB43(standardSpider.getb43());
        this.setB44(standardSpider.getb44());
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("standardCode", getStandardCode())
            .append("A11", getA11())
            .append("A12", getA12())
            .append("A13", getA13())
            .append("B11", getB11())
            .append("B12", getB12())
            .append("B13", getB13())
            .append("B14", getB14())
            .append("B21", getB21())
            .append("B22", getB22())
            .append("B23", getB23())
            .append("B24", getB24())
            .append("B31", getB31())
            .append("B32", getB32())
            .append("B33", getB33())
            .append("B41", getB41())
            .append("B42", getB42())
            .append("B43", getB43())
            .append("B44", getB44())
            .toString();
    }
}
